how to put a variable in string method